home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
pbmupc.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
2KB
|
67 lines
ppppbbbbmmmmuuuuppppcccc((((1111)))) XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11114444 MMMMaaaarrrrcccchhhh 1111999988889999)))) ppppbbbbmmmmuuuuppppcccc((((1111))))
NNNNAAAAMMMMEEEE
pbmupc - create a Universal Product Code bitmap
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ppppbbbbmmmmuuuuppppcccc [----ssss1111|----ssss2222] _t_y_p_e _m_a_n_u_f_a_c _p_r_o_d_u_c_t
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Generates a Universal Product Code symbol. The three
arguments are: a one digit product type, a five digit
manufacturer code, and a five digit product code. For
example, "0 72890 00011" is the code for Heineken.
As presently configured, _p_b_m_u_p_c produces a bitmap 230 bits
wide and 175 bits high. The size can be altered by changing
the defines at the beginning of the program, or by running
the output through _p_n_m_e_n_l_a_r_g_e or _p_n_m_s_c_a_l_e.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
The ----ssss1111 and ----ssss2222 flags select the style of UPC to generate.
The default, ----ssss1111, looks more or less like this:
||||||||||||||||
||||||||||||||||
||||||||||||||||
||||||||||||||||
0||12345||67890||5
The other style, ----ssss2222, puts the product type digit higher up,
and doesn't display the checksum digit:
||||||||||||||||
||||||||||||||||
0||||||||||||||||
||||||||||||||||
||12345||67890||
SSSSEEEEEEEE AAAALLLLSSSSOOOO
pbm(5)
AAAAUUUUTTTTHHHHOOOORRRR
Copyright (C) 1989 by Jef Poskanzer.
Page 1 (printed 9/7/93)